package o;

import android.content.Context;
import android.content.DialogInterface.OnDismissListener;
import androidx.annotation.NonNull;
import com.huawei.appgallery.foundation.ui.framework.widget.dialog.dialogactivity.DialogActivity.a;
import o.cbb.j;

public class cbk {
    private a ˎ;
    private Context ॱ;

    public cbk(@NonNull Context context) {
        this.ॱ = context;
        this.ˎ = new a(context, "NicknamePromptDialog");
        this.ˎ.ॱ(j.ˎˎ);
        this.ˎ.ˋ(-1, j.ˊˊ);
        this.ˎ.ˋ(-2, j.ˉ);
    }

    public void ˏ(OnDismissListener onDismissListener) {
        this.ˎ.ˋ(onDismissListener);
    }

    public void ˎ(ckh.a aVar) {
        this.ˎ.ˏ(aVar);
    }

    public void ˊ() {
        if (!this.ˎ.ˋ()) {
            this.ˎ.ˎ();
        }
    }
}
